package com.ljx.seckill.util;

import java.util.concurrent.TimeUnit;

public interface RedisLock {

    Boolean lock(String key, long time, TimeUnit timeUnit);

    Boolean unlock(String key);

}
